package com.song.pojo;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2020/12/21 - the current system date.
 * 21:37 - the current system time.
 */
public class Items {
    private Integer id;
    private String productName;
    private String photo;
    private Double price;
    private Integer liveNum;
    private Integer goodsNum;
    private Integer surplusNum;
    private Integer reservedNum;
    private Integer livedNum;
    private Integer status;
    private String remark;

    private Integer typeId; //商品类型Id

    private String typeName;//类型名称

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Items() {
    }

    public Items(Integer id, String productName, String photo, Double price, Integer liveNum, Integer goodsNum, Integer surplusNum, Integer reservedNum, Integer livedNum, Integer status, String remark) {
        this.id = id;
        this.productName = productName;
        this.photo = photo;
        this.price = price;
        this.liveNum = liveNum;
        this.goodsNum = goodsNum;
        this.surplusNum = surplusNum;
        this.reservedNum = reservedNum;
        this.livedNum = livedNum;
        this.status = status;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getLiveNum() {
        return liveNum;
    }

    public void setLiveNum(Integer liveNum) {
        this.liveNum = liveNum;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Integer getSurplusNum() {
        return surplusNum;
    }

    public void setSurplusNum(Integer surplusNum) {
        this.surplusNum = surplusNum;
    }

    public Integer getReservedNum() {
        return reservedNum;
    }

    public void setReservedNum(Integer reservedNum) {
        this.reservedNum = reservedNum;
    }

    public Integer getLivedNum() {
        return livedNum;
    }

    public void setLivedNum(Integer livedNum) {
        this.livedNum = livedNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Items{" +
                "id=" + id +
                ", productName='" + productName + '\'' +
                ", photo='" + photo + '\'' +
                ", price=" + price +
                ", liveNum=" + liveNum +
                ", goodsNum=" + goodsNum +
                ", surplusNum=" + surplusNum +
                ", reservedNum=" + reservedNum +
                ", livedNum=" + livedNum +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                '}';
    }
}
